package level
{
	import org.flixel.*;
	
	import enemy.*;
	import interaction.*;
	import item.*;
	import treasure.*;
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_5 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(StaticMaze.level_5);
			
			_player.spawnAt(14, 10);
			
			addItem(new SpeedBoost(18, 10));
			addItem(new SpeedBoost(10, 10));
			
			addInteraction(new Trapdoor(14, 2));
			addInteraction(new Trapdoor(14, 7));
			addInteraction(new Trapdoor(14, 13));
			
			addTreasure(new LootBag(18, 13));
			addTreasure(new LootBag(10, 7));
			addTreasure(new LootBag(8, 2));
			addTreasure(new LootBag(12, 2));
			addTreasure(new LootBag(16, 2));
			addTreasure(new LootBag(20, 2));
			
			addEnemy(new Brute(1, 20));
			addEnemy(new Brute(27, 20));
			
			LoggerWrapper.logLevelStart(9, "Level_5");
		}
	}
}